<meta charset="UTF-8">
<script type="text/javascript">
	function query2(formId) {
		var serializeObj = {};
		var array = $('#' + formId).serializeArray();
		$(array).each(
				function() {
					if (serializeObj[this.name]) {
						if ($.isArray(serializeObj[this.name])) {
							serializeObj[this.name].push(this.value);
						} else {
							serializeObj[this.name] = [
									serializeObj[this.name], this.value ];
						}
					} else {
						serializeObj[this.name] = this.value;
					}
				});
		$('#datagrid2').datagrid('load', serializeObj);
	}
</script>
<table class="easyui-datagrid" id="datagrid2"
	url="${base}/user/listNotInBlacklist" toolbar="#searchtool2,#toolbar2"
	pagination="true" rownumbers="true" fitColumns="true"
	singleSelect="true" data-options="fit:false,border:false,pageSize:20">
	<thead>
		<tr>
			<th field="uid" checkbox="true"></th>
			<th field="umobile" width="10%">手机号</th>
			<th field="realname" width="10%">真实姓名</th>
			<th field="industry" width="10%">行业</th>
			<th field="ctime" width="20%">注册时间</th>
		</tr>
	</thead>
</table>
<div id="searchtool2" style="padding:5px">
    <form id="searchForm2" method="post">
     <span>起始时间</span><input name="startTime" id="startTime" class="easyui-datebox" data-options="formatter:myformatter,parser:myparser,editable:false" style="width:200px" >  
  <span>截止时间</span><input name="endTime" id="endTime" class="easyui-datebox"  data-options="formatter:myformatter,parser:myparser,editable:false" style="width:200px" >  
  <span>关键字</span><input type="text" id="keyword" name="keyword" class="easyui-textbox" prompt="手机/姓名" /> 
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" onclick="javascript:query2('searchForm2');">搜索</a>
    </form>  
</div> 
<div id="toolbar2">
	<a href="javascript:void(0)" class="easyui-linkbutton"
		iconCls="icon-remove" plain="true" onclick="doSelelectUser();">选择</a>
</div>
